package com.csxy.six.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "社团实体")
public class Club {
    @TableId(type = IdType.AUTO)
    @Schema(description = "社团ID", example = "1")
    private Long id;

    @Schema(description = "社团名称", required = true, example = "摄影社")
    private String name;

    @Schema(description = "社团描述", example = "用镜头记录校园之美")
    private String description;

    @Schema(description = "社长姓名", example = "张晨")
    private String president;

    @Schema(description = "联系方式", example = "photo@uni.cn")
    private String contact;

    @Schema(description = "成员数量", example = "60")
    private Integer memberCount;
}